Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview of epics-arch.py

create arch file

  • cli_setup - handles the setup of the logger
  • create arch file - decides which function to call depending on the command line args
    • experiment and not dry run 
      • path - checks for a valid path, if valid, sets the new path 
      • hutch - edits file_path to a specific hutch
      • cds items - launches pull_client (params: experiment, cds_items) this method interfaces with the questionnaire to get proposal details from the entire cds tab
      • link - launches create_softlink (params: experiment)
      • defaults to setting the filepath and updating the archfile
    • dry run - prints dry run

pull client

create soft link

check for duplicates 

read archfile

print dry run

get key

get questionnaire data