ajshedivy / tps

Temporal Pathway Synthesizer
Other
0 stars 0 forks source link

gold stand files in annotations #17

Closed ajshedivy closed 2 years ago

ajshedivy commented 4 years ago
    # Load the list of gold standard proteins
    goldStandard = set()
    with open(goldStandardFile) as f:

"Here the code tries to open goldStandardFile. If we wrap this in a conditional, we can simply skip over the file opening and for loop if the file was not provided. It could default to None. Then the goldStandard will be the empty set, and the rest of the code should work."

can use this approach with config file