zaneveld / karenina

Simulation and modeling tools for studying Anna Karenina effects in animal microbiomes
2 stars 6 forks source link

Parse perturbation files fix and test cases #24

Closed hoikincheng closed 6 years ago

hoikincheng commented 6 years ago

Changed perturbation file restriction: Headings do not allow single letters such as "p", "v", "a" now. If any heading is missing in a perturbation file, an error will be raised and tell the user which heading is missing.

Karenina now displays help when it is run without required option.

Added test codes for parse_perturbation_file function.

SLPeoples commented 6 years ago
join(dirname(dirname(realpath(__file__))),'data',\
      'perturbations','set_xyz_lambda_zero.tsv')

When I pasted this earlier, github markdown made the file bold, and we missed the underscores.

Should be good to merge.

SLPeoples commented 6 years ago

The current pull request just needs underscores placed around file, and it will pass.