Skip to content
Snippets Groups Projects
Commit 3e04f662 authored by George Marchment's avatar George Marchment
Browse files

update

parent 4e97b08c
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
`git clone --recurse-submodules https://gitlab.liris.cnrs.fr/sharefair/bioflow-insight-study.git` `git clone --recurse-submodules https://gitlab.liris.cnrs.fr/sharefair/bioflow-insight-study.git`
`git submodule update --recursive --remote`
tets tets
## Getting started ## Getting started
......
Subproject commit 537540936dd0a3fc07e5f0143d74fa7cf93735bb Subproject commit bf6322002948c7b3df3657e0bd0e5fd82e7c8bd5
%% Cell type:code id: tags:
``` python
import os
import json
```
%% Cell type:code id: tags:
``` python
from github_crawler.download_corpus import
```
%% Cell type:code id: tags:
``` python
current_path= os.getcwd()
os.chdir("github-crawler/")
from download_corpus import *
os.chdir(current_path)
```
%% Output
* 1/752
Downloading...'HadrienG/nextflow_rna'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/HadrienG/nextflow_rna'...
* 2/752
Downloading...'IARCbioinfo/CODEX-nf'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/IARCbioinfo/CODEX-nf'...
* 3/752
Downloading...'AndersenLab/ril-nf'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/AndersenLab/ril-nf'...
* 4/752
Downloading...'robsyme/markerdev'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/robsyme/markerdev'...
* 5/752
* 6/752
Downloading...'ctmrbio/BACTpipe'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/ctmrbio/BACTpipe'...
* 7/752
Downloading...'danielecook/nextflow-tutorial'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/danielecook/nextflow-tutorial'...
* 8/752
Downloading...'IARCbioinfo/bamsurgeon-nf'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/IARCbioinfo/bamsurgeon-nf'...
* 9/752
Downloading...'nextflow-io/cwl2nxf'
mkdir: opérande manquant
Saisissez « mkdir --help » pour plus d'informations.
Clonage dans '../../../Workflow-Corpus-Open-License/nextflow-io/cwl2nxf'...
%% Cell type:code id: tags:
``` python
download_files = True
repo_to_download = "../Workflow-Corpus-Open-Licence/"
```
%% Cell type:code id: tags:
``` python
#Read crawler results
with open("./github-crawler/wf_crawl_nextflow.json") as json_file:
crawler = json.load(json_file)
_ = crawler.pop("last_date")
```
%% Cell type:code id: tags:
``` python
if(download_files):
current_directory = os.getcwd()
os.chdir(current_directory+'/'+repo_to_download)
```
%% Cell type:code id: tags:
``` python
os.getcwd()
```
%% Output
'/home/gmarchment/Documents/These/Work/Workflow-Corpus-Open-Licence'
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment