Skip to content
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

Job submission Failure" popup when the use of MetadataElement in biom1 datatype #2137

Open
mariabernard opened this issue Apr 12, 2016 · 2 comments

Comments

@mariabernard
Copy link

Hi,
we developed tools that generate biom1 output file. But since the use of MetadataElement in the biom class in text.py (#1198 , commit b5c77a8 ) , when executing a job, a "Job submission Failure" pop up appear even if the job is running successfully (after refresh the history). I am searching from where it may come but if you have some ideas, I would be very interested in?

regards

Maria

@mariabernard
Copy link
Author

Hi,

To be more precised, the error message is "Attempted to encode None id".
I modify the class Biom1 in lib/galaxy/datatypes/text.py line 141 and more precisely the default value for table_id:
MetadataElement( name="table_id", default=None, desc="table_id", param=MetadataParameter, readonly=True, visible=True, optional=True, novalue=None )
by
MetadataElement( name="table_id", default="ID", desc="table_id", param=MetadataParameter, readonly=True, visible=True, optional=True, no_value=None )

I test different default value None, "" and "ID" in different condition, but only "ID" solves the problem (which is strange).

...... to be continued .....

Maria

@blankenberg
Copy link
Member

Hi @mariabernard I've encountered this problem as well, and have diagnosed the root cause of the problem here: #2423. Hopefully we will have a quick resolution.

Thanks for reporting this issue!

blankenberg added a commit to blankenberg/galaxy that referenced this issue Jun 6, 2016
…of api/tools/create.

Resolves galaxyproject#2423, galaxyproject#2137, and galaxyproject/tools-iuc#770. However, this whole act of encoding by key.endswith('_id') is very messy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants