costezki / fingerprinter-ui Goto Github PK
View Code? Open in Web Editor NEWthis is an interface to RDF-fingerprint-diff project
License: GNU General Public License v3.0
this is an interface to RDF-fingerprint-diff project
License: GNU General Public License v3.0
In the client part of the project, write comments to the functions or declared "ReactiveVar" and "Session" variables.
for each drawback of potential improvement mentioned in the report create a gitHub Issue.
Instead of writing a file to the "Csv" "Collection" and creating a duplicate, you need to use the mdg callback return value to get the download link.
replace MeteorFiles.write to MeteorFiles.addFile
Display information about the "Python" script process to the client.
From the file "validationMethods.js" move functions not pre-designated for export to another file, like «utils.js». Where it will be understood that they are as an addition to "mdg" methods.
on form submit for diff or stats forms, call a server method that generates an arbitrary file (e.g. uui4) and adds it to a file collection.
the file collection then makes it available for download.
Do not use "Session" variables, if possible, and if not, after the "PDF" file was created, delete these "Session" variables.
port the report from pdf to Markdown Wiki page
Stylize the button for uploading files.
test
Combine "Diff" and "Stats" in "SimpleSchema", creating one form and one template, thereby reducing the amount of code and not losing readability and logic.
After downloading the finished "PDF", clear the folder it's unnecessary files.
Create a folder with a unique name, where the files of the current "PDF" generation session will be stored, for easy cleaning after the process.
When a stats or diff form is submitted then write a JSON file with form details and default value for oteher fields according to the example.
{
"title": "EuroVoc Fingerprint Report - From Old to New and Back",
"type": "difference between two dataset fingerprints",
"author": "Eugeniu Costetchi",
"ns_file": "./resources/prefix.csv",
"output" : "./out",
"alpha": {
"file": "./resources/fingerprint.rq_eurovoc44.log",
"title": "EuroVoc 4.4",
"desc": "EuroVoc 4.4 was released a long time ago using EuroVoc Ontology."
},
"beta": {
"file": "./resources/fingerprint.rq_EV45OLD.log",
"title": "EuroVoc 4.5(bc)",
"desc": "EuroVoc 4.5 backward compatible (bc) was released in July 2016 with SKOS-AP-EU and then converted to fit also the old profile of EuroVoc Ontology."
}
}
Attempt to introduce in the "SimpleSchema" "FileCollection", to download a file from the form.
the download file is not available for download
After generating the "PDF" and downloading it, let the client immediately re-start using the form again, without updating the page.
Upload files from the form only when the submit form was generated, to avoid unnecessary downloads of files.
resolve code upgrade dependencies
after pushing generate-report button
reproduce error by following steps:
Exception while invoking method 'generateJSON' TypeError: Cannot read property 'value' of undefined
I20170428-16:22:13.463(2)? at [object Object].ValidatedMethod.run (imports/mdg/validatedMethods.js:44:32)
I20170428-16:22:13.463(2)? at ValidatedMethod._execute (packages/mdg:validated-method/validated-method.js:93:12)
I20170428-16:22:13.464(2)? at [object Object].ValidatedMethod.connection.methods._connection$methods.(anonymous function) (packages/mdg:validated-method/validated-method.js:54:23)
I20170428-16:22:13.464(2)? at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1737:12)
I20170428-16:22:13.464(2)? at packages/ddp-server/livedata_server.js:719:19
I20170428-16:22:13.464(2)? at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
I20170428-16:22:13.466(2)? at packages/ddp-server/livedata_server.js:717:40
I20170428-16:22:13.467(2)? at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
I20170428-16:22:13.467(2)? at packages/ddp-server/livedata_server.js:715:46
I20170428-16:22:13.467(2)? at [object Object]._.extend.protocol_handlers.method (packages/ddp-server/livedata_server.js:689:23)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.