Closed kcmcleod closed 4 years ago
Which type is missing? What yaml looks ok?
http://www.macs.hw.ac.uk/~ajg33
From: Ken McLeod notifications@github.com Sent: Friday, November 15, 2019 7:27:52 PM To: HW-SWeL/BioschemasMarkupGenerator BioschemasMarkupGenerator@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [HW-SWeL/BioschemasMarkupGenerator] Fails if definition for expected type can't be found (#9)
If it can't find a description for a Schema.org type it throws an error but works. HOWEVER, if it cannot find the BSc description it throws an error and fails without telling you. The yaml looks OK, but cannot be loaded.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/HW-SWeL/BioschemasMarkupGenerator/issues/9?email_source=notifications&email_token=AAIWUEKBLIJZ2TU44GIVB7DQT3S2RA5CNFSM4JN6T7I2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZV2ZDA, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIWUEKCGLGVEHFLOOGBF53QT3S2RANCNFSM4JN6T7IQ.
Heriot-Watt University is The Times & The Sunday Times International University of the Year 2018
Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:
The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.
Came across this issue today with DNA being an expected type for a property but there is no associated Bioschemas profile for it. I have fixed the code (b1c1c552f92d7a5959a56c621ea99e511d010e9c ) so that it will now allow the property to be included but requires an @id
link to a resource that has the detail.
If it can't find a description for a Schema.org type it throws an error but works. HOWEVER, if it cannot find the BSc description it throws an error and fails without telling you. The yaml looks OK, but cannot be loaded.