Netiquette · Download · News · Gallery · Homepage · DSSR Manual · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL · DSSR Licensing · Video Overview· RNA Covers

Author Topic: x3dna-v2.4 :: checks for x2dn-v2.3 for homedir  (Read 29374 times)

Offline edeveaud

  • with-posts
  • *
  • Posts: 3
    • View Profile
x3dna-v2.4 :: checks for x2dn-v2.3 for homedir
« on: February 11, 2019, 11:23:17 am »
looking at get_3dna_homedir in app_fncs.c

when X3DNA env var not defined, it set homedir to $HOME/x3dna-v2.3/ or $HOMEDRIVE/x3dna-v2.3/



Offline xiangjun

  • Administrator
  • with-posts
  • *****
  • Posts: 1652
    • View Profile
    • 3DNA homepage
Re: x3dna-v2.4 :: checks for x2dn-v2.3 for homedir
« Reply #1 on: February 11, 2019, 11:58:50 am »
Hi edeveaud,

Thanks for reporting this issue.

Presumably, the X3DNA environment variable should always be set. Nevertheless, since the current version of 3DNA is v2.4, the out-of-date v2.3 folder should be fixed. Please check 3DNA v2.4.1-2019feb11 where v2.3 has been corrected to v2.4.

Best regards,

Xiang-Jun
« Last Edit: February 11, 2019, 02:51:26 pm by xiangjun »

Offline xiangjun

  • Administrator
  • with-posts
  • *****
  • Posts: 1652
    • View Profile
    • 3DNA homepage
Re: x3dna-v2.4 :: checks for x2dn-v2.3 for homedir
« Reply #2 on: February 26, 2019, 11:56:50 am »
Quote
looking at get_3dna_homedir in app_fncs.c

when X3DNA env var not defined, it set homedir to $HOME/x3dna-v2.3/ or $HOMEDRIVE/x3dna-v2.3/

As a follow-up, I've simplified function get_3dna_homedir() in app_fncs.c in 3DNA v2.4.2-2019feb26. Now the X3DNA environment variable must be set. The code for checking 3DNA distribution from the home directory has been removed. This feature was added from early on, including the widely distributed 3DNA v1.5. From my memory, however, it has been rarely used. Moreover, since v2.1, the x3dna_ensemble Ruby script requires the setting of ENV['X3DNA'].

Xiang-Jun

 

Funded by the NIH R24GM153869 grant on X3DNA-DSSR, an NIGMS National Resource for Structural Bioinformatics of Nucleic Acids

Created and maintained by Dr. Xiang-Jun Lu, Department of Biological Sciences, Columbia University