draeger-lab / ModelPolisher

ModelPolisher accesses the BiGG Models knowledgebase to annotate SBML models.
23 stars 7 forks source link

Production of output fails if `output` location is given as file and file not present. #71

Closed codekaust closed 5 years ago

codekaust commented 5 years ago

Consider the following cases for --output:

In the third case, ModelPolisher shows exception (java.io.FileNotFoundException) and stops (not producing glossary or output).

Note: This will happen only if you polish a single model, if input is a directory then output must be a directory too, and in that case, no error will come as evident from above cases.

codekaust commented 5 years ago

This issue has existed in ModelPolisher before the feature of the glossary was added to it.

codekaust commented 5 years ago

Similar issue for the following two cases: