chop-dbhi / ehb-datasources

datasource drivers, e.g. REDCap and Nautilus, that can be plugged into the Biorepository Portal
BSD 2-Clause "Simplified" License
2 stars 2 forks source link

Check if SDG exists in Nautilus DB before adding record to the eHB #51

Open seg1129 opened 5 years ago

seg1129 commented 5 years ago

In current state ehb-datasources does not check if a SDG name exists in nautilus before adding it to the eHB.

the following function needs to be updated to check if SDG name exists in nautilus before checking if the record already exists in the eHB

https://github.com/chop-dbhi/ehb-datasources/blob/d38c2ae36df471bfd26d055efd073af3ea58cac7/ehb_datasources/drivers/nautilus/driver.py#L349