peppy icon indicating copy to clipboard operation
peppy copied to clipboard

URL config files

Open nsheff opened this issue 4 years ago • 2 comments

I'd like to be able to do this:

import peppy
peppy.Project("https://raw.githubusercontent.com/pepkit/example_peps/master/example_basic/project_config.yaml")

what do you think?

nsheff avatar Feb 02 '21 17:02 nsheff

Also, what about this?

pep_version: "2.0.0"
project_modifiers:
  import:
    - https://raw.githubusercontent.com/pepkit/example_peps/master/example_basic/project_config.yaml
peppy.Project("project_config.yaml")
External Project configuration does not exist: https://raw.githubusercontent.com/pepkit/example_peps/master/example_basic/project_config.yaml

nsheff avatar Feb 02 '21 17:02 nsheff

done

In [1]: import peppy                                                                                                                                                

In [2]: p=peppy.Project("https://raw.githubusercontent.com/pepkit/example_peps/master/example_basic/project_config.yaml")                                           

In [3]: print(p)                                                                                                                                                    
Project 'example_basic' (https://raw.githubusercontent.com/pepkit/example_peps/master/example_basic/project_config.yaml)
2 samples: frog_1, frog_2
Sections: pep_version, sample_table

stolarczyk avatar Mar 17 '21 18:03 stolarczyk

This issue was solved 0f3c371

khoroshevskyi avatar Jul 11 '24 16:07 khoroshevskyi