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

[WIP] New ebi submit [WIP] #704

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

adamrp
Copy link
Member

@adamrp adamrp commented May 27, 2014

Almost there, but I thought I'd get this in now so that people can begin reviewing, it's kind of big.

Needs:

  • Logging
  • Test code
  • Script file (this is the library code)
  • MD5 Calculations
  • Final step that calls ASCP on the XML files generated

- All column headers will be transformed to lowercase
- Skips lines containing only whitespace
"""
headers = [x.strip().lower() for x in input_file.readline().split('\t')]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this drop #?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it could, but the prep/sample templates I get from Gail never have comment lines starting with #

@adamrp
Copy link
Member Author

adamrp commented Jun 9, 2014

Thanks for the review @wasade, I'll implement these changes soon!

from make_per_sample_fastq import split_helper


class InvalidMetadataError(Exception):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have descriptions for this and the subsequent Exceptions.

@ElDeveloper
Copy link
Member

I like how the code is looking!

I would like to hear what your plans are for testing the main EBI object, as it stands right now, I can see that it's acting a lot as a data formatter, hence I would be inclined to leave the submission of files to a separate object, would be curious to hear what others think.

@wasade
Copy link
Member

wasade commented Jun 9, 2014

Agree, submit should be external
On Jun 9, 2014 1:21 PM, "Yoshiki Vázquez Baeza" [email protected]
wrote:

I like how the code is looking!

I would like to hear what your plans are for testing the main EBI object,
as it stands right now, I can see that it's acting a lot as a data
formatter, hence I would be inclined to leave the submission of files to a
separate object, would be curious to hear what others think.


Reply to this email directly or view it on GitHub
#704 (comment).

from xml.dom import minidom
from xml.sax.saxutils import escape

from make_per_sample_fastq import split_helper
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split_helper should be moved into here otherwise we have a circular dependency once the cmd line click'd interface imports EBISubmission

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants