mintproject / mic

Model Insertion Checker
https://mic-cli.readthedocs.io/en/latest/
5 stars 3 forks source link

files with hyphen in yaml causes issues with run #293

Closed Cmheidelberg closed 4 years ago

Cmheidelberg commented 4 years ago

Describe the bug I have a directory ATX-Lot_line/. When mic detects this as an input it adds it to the yaml as:

atx-lot_line_zip
    path: ATX-Lot_line.zip
    format: zip

for some reason the hyphen will cause the file not to be found when using mic pkg run.

Error (traced from io.sh)

line 80: atx-lot_line_zip=/home/chris/Desktop/tests/pick_prop_pyththreeseven/mic/executions/07_31_15_38_50/src/ATX-Lot_line.zip: No such file or directory

manually editing the input name in the yaml and rerunning wrapper fixed the issue.

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.