cchdo / libcchdo

Other
0 stars 1 forks source link

mkdir_uow should bail out when no queue files selected #33

Closed DocOtak closed 11 years ago

DocOtak commented 11 years ago

Original report by myshen (Bitbucket: myshen, GitHub: myshen).


libcchdo/datadir/processing.py mkdir_uow gives a misleading error

None of the as-received files are attached to a cruise. This must be corrected in the database.

when the ids given do not match queue files, the error should say so and the code path should exit.

The original error should be changed to note that an expocode should be added to the queue file in the database.

DocOtak commented 11 years ago

Original comment by myshen (Bitbucket: myshen, GitHub: myshen).


Perhaps a better idea is for fetch to allow for fetching a cruise's history directly without downloading any submissions to allow for corrections without a queue file.

DocOtak commented 11 years ago

Original comment by myshen (Bitbucket: myshen, GitHub: myshen).


Resolved by b980f4c