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

Latest commit

 

History

History
43 lines (38 loc) · 1.62 KB

sample_workflow.md

File metadata and controls

43 lines (38 loc) · 1.62 KB

This workflow will produce a sample metadata file with minimum information filled.

  1. Clone this repository
git clone https://github.com/SichongP/EVA_Instrumentality
cd EVA_Instrumentality
  1. Test if you have python and openpyxl installed
python2
>>> from openpyxl import Workbook

You should not see any error message if you have them available on your machine. Otherwise run the following code to install openpyxl: Only run the following code if you don't have openpyxl installed

pip install openpyxl
  1. Take a look at sample_structure directory which demostrates how to organize your files
find sample_structure
  1. Take a look at user_info.config file which demostrates how to make your own config file
less src/user_info.config
  1. Run mkmetadata with user_info.config file:
chmod +x mkmetadata
./mkmetadata --user src/user_info.config --out test.xlsx ./sample_structure

You should see output like this:

No project info file found in sample_structure/equine_IMM, be sure you input them manually
No analysis info file found in sample_structure/equine_IMM/IMM_CGAS, be sure you input them manually
No analysis info file found in sample_structure/equine_NAD_CGAS/CGAS_analysis, be sure you input them manually
No analysis info file found in sample_structure/equine_NAD_CGAS/WGAS_analysis, be sure you input them manually

You are seeing theses warnings because we don't have many of the config files available for the program to use. You thus need to input these data once you have test.xlsx

  1. You can now open test.xlsx file and see some information autofilled