Code Monkey home page Code Monkey logo

Comments (3)

pjotrp avatar pjotrp commented on August 20, 2024

On wikidata location fail it looks like



Your upload has failed.

            Uploader returned value 1 and said:DEBUG:__main__:Entering sequence uploader
INFO:googleapiclient.discovery:URL being requested: GET https://lugli.arvadosapi.com/discovery/v1/apis/arvados/v1/rest
DEBUG:__main__:Checking metadata
DEBUG:bh20sequploader.qc_metadata:  Testing  against shape https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#submissionShape
    Testing _:b1 against shape https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#sampleShape
    _:b1 context:
       MainSchema:sample _:b1 .
         _:b1 evs:C25164 "2020-05-13" .
         _:b1 obo:GAZ_00000448  .
         _:b1 sio:SIO_000115 "Myunique id" .

      Node:  not in value set:
	 {"values": [{"stem": "http://www.wikidata.org/entity/", "typ...
WARNING:__main__:Failed metadata qc

Not exactly helpful :)

from bh20-seq-resource.

LLTommy avatar LLTommy commented on August 20, 2024

This clearly tells us that you did something wrong in the sample part of the submission, I assume you did not enter a location at all, an empty string will not pass. :D

On a serious note, yes it would be good to have nicer messages but this is hard to accomplish. This comes at the moment from the ShEX library directly. For the UI, I propose some additional restrictions (e.g. java script check if what should be an IRI starts "http" or that it is not empty) - so we could catch some of those before submission.

from bh20-seq-resource.

pjotrp avatar pjotrp commented on August 20, 2024

The best way to accomplish this is probably by parsing these messages and reformatting them ;). I'll move it to later.

from bh20-seq-resource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.