roman-corgi / corgidrp

Data Reduction Pipeline for the Roman Coronagraph Instrument
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

caldb.create_entry should check to see if the file exists #188

Open maxwellmb opened 2 months ago

maxwellmb commented 2 months ago

Is your feature request related to a problem? Please describe. One could technically add a file to the caldb using the caldb.create_entry function with it having been saved to disk.

Not sure how high priority this is because it hasn't yet been a problem, but we maybe want to close that loop-hole one day.

Describe the solution you'd like I think the caldb.create_entry should probably chcek that the file exists.

Additional context