Skip to content

Commit

Permalink
When nxs file is generated dont throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Mar 28, 2017
1 parent abfcac1 commit e9b9648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/GenerateNexus.py
Expand Up @@ -56,7 +56,7 @@ def createNexus(cursor, itemId, nexusDir):
logging.info(command)
os.system(command)

if os.path.isfile(outputPath):
if not os.path.isfile(outputPath):
error('none Nexus file was generated (found in ' + outFolder +
').', outFolder)

Expand Down

0 comments on commit e9b9648

Please sign in to comment.