Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Init db snic #183

Merged
merged 14 commits into from
Sep 14, 2023
Merged

Init db snic #183

merged 14 commits into from
Sep 14, 2023

Conversation

jannesgg
Copy link
Contributor

No description provided.

victor-wildlife and others added 9 commits September 11, 2023 15:21
Added a class for the names of servers supported by the system
Refactored the server-specific sections to the following logic: 1- the template, 2- local/SNIC, 3- AWS and 4- report server incompatibility
Removed SNIC specific packages (paramiko) and server functions SSHClient, SCPClient
Refactored the init_db functions to make it easier to maintain
choose_species function now can use a list of preselected species or retrieve the list from the db
updated the map to use the first site as the initial location
removed snic-specific requirements to create frames and upload to Zooniverse
Modified the way we create the path of the generated frames to work on different os
Removed species id for frames created in spyfish as we already use the scientificname
I also added the "label" column as "commonName" to get the gbif format to match species information,
specified to inferdateformat for spyfish surveys and,
removed printing statements
I formated incorrect logging info messages, species values retrieved from widgets, removed unnecessary functions for tut#5, 6 and 7,
and 8
Uncommented the "add_project" function as it was triggerin some pylint errors and we currently don't use the function.
The species identifications task has a different task number depending on the kso project and workflow selected. Checking if the task is a dictionary is a way to ensure only those species identification tasks get flatten.
The subject for Medins have two species id expected for each frame this
changes deal with the db constraints to match one to one
@victor-wildlife victor-wildlife linked an issue Sep 14, 2023 that may be closed by this pull request
@victor-wildlife
Copy link
Contributor

The main changes to get SNIC projects working have been implemented so this branch is ready to merge

@jannesgg jannesgg merged commit ad72434 into dev Sep 14, 2023
4 checks passed
@jannesgg jannesgg deleted the init_db_snic branch September 14, 2023 12:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants