Skip to content

Commit

Permalink
docs: update html and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 committed Apr 29, 2024
1 parent a262b5c commit 7c52587
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ You can go to http://aind-data-transfer-service to submit a `.csv` or `.xlsx` fi

What each column means in the job submission template:

- **processor_full_name**: Name of the person submitting the upload job
- **project_name**: Project name. A full list can be downloaded at [Project Names](http://aind-metadata-service/project_names)
- **process_capsule_id**: Optional Code Ocean capsule or pipeline to run when data is uploaded
- **platform**: For a list of platforms click [here](https://github.com/AllenNeuralDynamics/aind-data-schema/blob/main/src/aind_data_schema/models/platforms.py).
- **acq_datetime**: The time that the data was acquired
- **subject_id**: The unique id of the subject
Expand Down Expand Up @@ -70,8 +73,12 @@ platform = Platform.BEHAVIOR
behavior_config = ModalityConfigs(modality=Modality.BEHAVIOR, source=(source_dir / "Behavior"))
behavior_videos_config = ModalityConfigs(modality=Modality.BEHAVIOR_VIDEOS, source=(source_dir / "Behavior videos"))
metadata_dir = source_dir / "Config" # This is an optional folder of pre-compiled metadata json files
processor_full_name="Anna Apple"
project_name="Ephys Platform"

upload_job_configs = BasicUploadJobConfigs(
processor_full_name=processor_full_name,
project_name=project_name,
s3_bucket = s3_bucket,
platform = platform,
subject_id = subject_id,
Expand Down
1 change: 0 additions & 1 deletion src/aind_data_transfer_service/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
# BASIC_JOB_SCRIPT
# OPEN_DATA_AWS_SECRET_ACCESS_KEY
# OPEN_DATA_AWS_ACCESS_KEY_ID
# AIND_PROJECT_NAMES_URL


async def validate_csv(request: Request):
Expand Down
1 change: 1 addition & 0 deletions src/aind_data_transfer_service/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<a href="/">Submit Jobs</a> |
<a href="/jobs">Job Status</a> |
<a title="Download job template as .xslx" href= "/api/job_upload_template" download>Job Submit Template</a> |
<a title="List of project names" href= "http://aind-metadata-service/project_names" >Project Names</a> |
<a title="For more information click here" href="https://github.com/AllenNeuralDynamics/aind-data-transfer-service/tree/main?tab=readme-ov-file#aind-data-transfer-service" target="_blank" >Help</a>
</nav>
<br>
Expand Down
4 changes: 3 additions & 1 deletion src/aind_data_transfer_service/templates/job_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
<nav>
<a href="/">Submit Jobs</a> |
<a href="/jobs">Job Status</a> |
<a title="Download job template as .xslx" href= "/api/job_upload_template" download>Job Submit Template</a>
<a title="Download job template as .xslx" href= "/api/job_upload_template" download>Job Submit Template</a> |
<a title="List of project names" href= "http://aind-metadata-service/project_names" >Project Names</a> |
<a title="For more information click here" href="https://github.com/AllenNeuralDynamics/aind-data-transfer-service/tree/main?tab=readme-ov-file#aind-data-transfer-service" target="_blank" >Help</a>
</nav>
<h2>Jobs Submitted: {{num_of_jobs}}</h2>
<table>
Expand Down

0 comments on commit 7c52587

Please sign in to comment.