-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.6 RC2 #135
Conversation
…for Sample subclasses; clean up messaging and comments
…require setuptools
I confirm that this solves the missing interface problem in my test. |
But this did not force a new reliance on pandas 0.20 when I had pandas 0.19 installed, so the requirement thing is not working yet. |
This directory contains old relics of previous ways of doing things. These scripts have moved to the internal scripts repo in case they're needed later
Addresses #133 |
When you get the chance @afrendeiro can you rerun the case that caused #129 with |
Okay, I've pulled the latest
Here's a sample from a looper:787 [INFO] > Command: check (Looper version: 0.6.0-rc2)
...
models:632 [WARNING] > Looper v0.6 suggests switching from pipelines_dir to pipeline_interfaces. See docs for details.
...
models:905 [DEBUG] > Adding sample sheet
models:915 [DEBUG] > Creating samples from annotation sheet
models:1162 [DEBUG] > **Successfully imported pipelines **
models:999 [DEBUG] > merge: **sample** 'ATAC-seq_HAP1_ACTB_r1_2471_10'; lane=3
models:999 [DEBUG] > merge: sample 'ATAC-seq_HAP1_ACTB_r1_2471_10'; data_source=/scratch/lab_bsf/samples/BSF_0279_HG7MMBBXX/BSF_0279_HG7MMBBXX_3_sample
... So looper is still finding my pipeline_dirs but making generic One more issue with this update: instantiating a |
do you have a module called 'pipelines' installed, and does this module have a matching sample subclass? This is where it will be looking (not in the pipeline itself), by my reading... |
yeah, the current logic is not the way I thought it worked. this is going to take some reworking I think. It's not doing what it used to somehow... @afrendeiro: do you want it to be pulling the child class from a global 'pipelines' install (bad way imo because it relies on the magic name 'pipelines'), or do you want it to pull child class from the python file that defines the pipeline (preferable in my opinion). Right now it's doing the former and not the latter as far as I can tell; I think we should switch to the latter and exclude the former. |
I deliberately pulled two functions from the tail of the I see two main disadvantages--only one of which has unknown/potentially significant extent, the other is known and bounded--and one advantage, of inclusion in the constructor. The significant disadvantage is that this complicates inheriting |
Regarding the |
…ive path handling
… the test expectation to deal with the lingering relative path stuff
…ipt path, passing
…undles and Sample subtyping
…e protected import function by guarding with a final default Sample fallback; add tests for protocol matching
…a pipeline's import of base Sample; more ProtocolInterface tests, passing
… module naming not cleanup since that causes problems in the subtype constructor
@vreuter How close are we to merging this? |
I'm set with it now. Did you have other cases you wanted to run? |
I'll give it a try with some of the ones I'm working on now. I'm mostly just itching to move on |
Are you making more changes? |
One note on the |
Close #129
Close #130
Close #133
Close #136
Close #137
Close #139
Close #134
Close #132
Project
constructor andSample
subclass seeking.setuptools
that's now generally assumed for installpipelines_dir
interface file