Closed xiaoranzhou closed 1 month ago
@kdp-cloud do you have an idea? Sorry if you already get notifications about the issues on MARS !
This is sunspot that complains that there's something wring with the formatting in the project. Simply running this should fix it:
./gradlew :spotlessApply
For completeness, I'll open a PR to hopefully avoid situations like this in the future.
Yes thanks. after the ./gradlew :spotlessApply
. it compiles.
Maybe I should start a new issue.
I tried to submit "biosamples-modified-isa.json" to a previous version of isajons-ena converter and also new compiled converter. But the conversion does not work. However, the old Test_BioHackathon_Investigation_after_BSD.json works.
Here is the error message. `2024-07-16 09:07:18.410 ERROR 477493 --- [nio-8042-exec-1] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/isaena] threw exception
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'biosamples': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (String)"biosamples-modified-isa.json"; line: 1, column: 11]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2391) ~[jackson-core-2.13.4.jar!/:2.13.4]
`
I just tried to build a new ENA converter from the
repository-services/isajson-ena
and it failed. To reproduce the failed build, we could:git clone https://github.com/elixir-europe/MARS test-mars
cd test-mars/repository-services/isajson-ena
./gradlew build -x test
Error message is:Maybe there is a new way to build, which can be successful. It will be great is someone can help.