Skip to content
Snippets Groups Projects

F awi sams

Merged Florian Spreckelsen requested to merge f-awi-sams into main
1 unresolved thread
2 files
+ 5
165
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -32,57 +32,10 @@ from caosadvancedtools.serverside.helper import send_mail
from caoscrawler.config import get_config_setting
from linkahead import get_entity_by_name
from sample_helpers.sample_upload_column_definitions import (
IGNORED_COLUMN_NAMES_SAMPLE, SPECIAL_TREATMENT_SAMPLE)
from sample_helpers.utils import CONSTANTS
SPECIAL_TREATMENT_SAMPLE = [
"BIS ID",
"Collection",
"Date collected start",
"Date collected stop",
"Date sampled start",
"Date sampled stop",
"Gear configuration",
"Gear",
"Hol",
"Latitude start",
"Latitude stop",
"Longitude start",
"Longitude stop",
"Main User",
"Nagoya case number",
"PDFReport",
"PI",
"Parent BIS ID",
"Person",
"Sampling Person",
"Sampling depth start",
"Sampling depth stop",
"Sphere",
"Station ID",
"Station number",
"Storage Container Label",
"Storage ID",
"Subevent",
"Time collected start",
"Time collected stop",
"Time sampled start",
"Time sampled stop",
"Timezone",
"Water depth start",
"Water depth stop",
]
IGNORED_COLUMN_NAMES_SAMPLE = [
"BIS URL",
"Date",
"IGSN URL",
"IGSN", # TODO This will be relevant for external IGSNs in the future.
"Parent Sample",
"Sampling depth",
"Storage chain",
"Water depth",
]
COLUMN_DESCRIPTIONS = CONSTANTS["csv_column_descriptions"]
Loading