NAVADMC / ADSM

A simulation of disease spread in livestock populations. Includes detection and containment simulation.
Other
10 stars 5 forks source link

Function Import needs to manage possibility of no files #955

Closed missyschoenbaum closed 5 years ago

missyschoenbaum commented 5 years ago

The function import buttons needs to manage the possibility that someone may try to import when no files are in place.

FilesNotFoundYellow

ConradSelig commented 5 years ago

I'm skipping #943 to fix this first - should make that ticket easier.

ConradSelig commented 5 years ago

@missyschoenbaum Can you provide more details on how you got this error? I can't seem to get this error - or even figure out how this error would be thrown when looking at the code itself.

Maybe if the functions were being imported and then the file being imported was deleted? Seems like you would have had to have PERFECT timing to get that to work out.

I would like to know:

Also, if you get the error again - please post the entire error message, it can actually help assist in figuring out what happened.

missyschoenbaum commented 5 years ago

I think I was attempting to just hit the import button when there were no files in the Import bucket. I can't get this to recreate on either function type, so I think this got worked out.