bowmanjeffs / paprica

paprica - PAthway PRediction by phylogenetIC plAcement
27 stars 9 forks source link

notify user about existing files #95

Open RJ333 opened 1 year ago

RJ333 commented 1 year ago

Hello together, due to some issues from https://github.com/bowmanjeffs/paprica/issues/94 I created some empty intermediate files when I tried the paprica-run.sh script and it errored out. Subsequent runs after fixing the original issue still did not work as the empty files were blocking the workflow. After deleting those files it went fine. It would be good if the user gets notified that a step can't be performed because the file already exists

bowmanjeffs commented 1 year ago

Thanks, do you recall specifically which program failed because of existing files?

RJ333 commented 1 year ago

Not really sure, but I guess it could be here? https://github.com/bowmanjeffs/paprica/blob/master/paprica-pick_domain.py#L88 Just to clarify: the special situation here was, that although the files existed (I think there was some kind of notification, can't really remember), they were empty...that could be a separate notification apart from "warning: the file already exists" thanks!