Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

cms-PdmV/dataManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#

Data management application

/
Opening function that directs to index.html


/api/help
Print available functions


/das_driver_all
Takes the dataset name and checks in DAS if it's in there, if the dataset is stored in disk and if so - download the needed .root file for cmsRun to launch


/das_driver_single
Same as above, just does it with single dataset, could refactor to use the same function, but maybe laterz


/delete_doc
Sends a request to couchDB to delete the given document according to the _id var of the record


/get_alca_matrix_value

Downloads the autoAlca matrix from the Git repo and passes it to Angular controller which\n updates the text field


get_all_docs
Used in saveDocs() function to get all docs and later for the object to be pushed in to the data list


/get_skim_matrix_value
Downloads the autoSkim matrix from the Git repo and passes it to Angular controller which updates the text field


/load_data
Communicates with the CouchDB and returns the object according to it's _id as a JSON


/save_doc
Puts a newly created object to the CouchDB


submit_campaign
Executes the submit button by updating the current campaign, creating/executing the script in get_submit_bash(). Logs of the process can be found in the WORK_DIR variable location and a log is also uploaded to the CouchDB together with the object


/test_campaign
Creates a bash script that will proceed with the config file generation and will run the cmsRun command without injecting it to request manager. Runs tests with all the datasets of the campaign and return jsons should be processed by the dataset name in controllers.js


/update_file
Gets the object from the browser and updates it in the CouchDB


#

TO-DO list

Testing icon for three stages - not tested/suceeded/failed DB in a new instance, not in Monika's dB Config entry for Dev/Prod instances

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •