dkoslicki / NCATS

MIT License
2 stars 0 forks source link

Geneprof 500 response #134

Closed erikyao closed 6 years ago

erikyao commented 6 years ago

When running test_geneprof_id_to_transcription_factor_gene_symbols of tests/QueryGeneProfTestCase, QueryGeneProf.geneprof_id_to_transcription_factor_gene_symbols sometimes returns an empty set due to Genprof's 500 response.

Test code:

ret_set = QueryGeneProf.geneprof_id_to_transcription_factor_gene_symbols(16269)  # 'HMOX1'

Debugging message:

HTTP response status code: 500 for URL: http://www.geneprof.org/GeneProf/api/gene.info/regulation/binary/by.target/human/16269.json?with-sample-info=true

Cause of 500 reported by Geneprof:

java.lang.OutOfMemoryError: unable to create new native thread

We may need to add exception-handling code in this case.

dkoslicki commented 6 years ago

This issue was moved to RTXteam/RTX#2