A module for moving compounds/asssets from project A to project B.
Warning: This would make changes to existing files so make sure to use a test directory on s3 (for example analysis.clue.io/etl/) while testing.
- Checkout this repository
- Edit src/input.json to reflect the changes you would like to make
- screen_root - Should point to the S# root of the screen (for e.g analysis.clue.io)
- src_project - The project that holds the pert that needs to be moved
- dest_project - The project that the pert would be moved into
- pert_id - The pert_id to move to destination project
- pert_plate - The pert plate that the pert_id is on
- cd to the checkout directory and run
npm install
tsc --outDir dist
to compile the srcnpm run start
- The last command will do the following
- Check out the src and destination projects into the etl folder
- Copy the pert_id folder from the src project to the det project c.
- Update LEVEL4 and LEVEL5 csv combat files with the dest project name
- Delete pert_id folder from the src project
- Sync the src and det projects back to s3 using the aws s3 sync delete flag