diffpy / sampledb Goto Github PK
View Code? Open in Web Editor NEWA DB for sample and synthesis metadata information
Home Page: http://www.diffpy.org/sampledb/
License: Other
A DB for sample and synthesis metadata information
Home Page: http://www.diffpy.org/sampledb/
License: Other
If we succeed in publishing samples we should say so.
We need to make a bunch of UUIDs and convert them to QRs
Critical questions
It might be easier to work with the QR sheets if the ordering is:
|123|456|789|
|123|456|789|
|123|456|789|
|abc|efg|hij|
.
.
.
That way we can cut vertically for each set then cut horizontally in bulk giving strips of a single number where the users don't need to cut the label to get a single QR.
Put docs on the web
Search database based on QR codes.
Proposed workflow
add_sample
modebeamtime
modeHave config file so we don't need to ask for ssh info every time.
It might be nice to have some quickstart info for users to start using the system.
(dp_dev) christopher@christopher-ubuntu ~/test_sampledb $ download_samples test.xlsx
Traceback (most recent call last):
File "/home/christopher/mc/envs/dp_dev/bin/download_samples", line 6, in <module>
exec(compile(open(__file__).read(), __file__, 'exec'))
File "/home/christopher/dev/sampledb-1/scripts/download_samples", line 3, in <module>
download_samples()
File "/home/christopher/dev/sampledb-1/sampledb/reader.xsh", line 192, in download_samples
args.collection, args.key, args.user, args.port)
File "/home/christopher/dev/sampledb-1/sampledb/reader.xsh", line 142, in download_sample_spreadsheet
download(filename, sdb)
File "/home/christopher/dev/sampledb-1/sampledb/reader.xsh", line 123, in download
schema = json.loads(schema)
File "/home/christopher/mc/envs/dp_dev/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
User runs
a = sample_from_QR()
xrun(a, 0)
Should we take the repo public?
The config file needs some docs.
Need functionality for turning QR codes back into UUIDs.
Produce a command line interface for this. (See entry points?)
It would be nice to have a requirements file (or a few, run doc and test)
Create sample spreadsheet from list of QRs.
CircleCI to start (if possible) since we are currently running private.
Do we want to go with actual sticky labels or just normal printer paper for the system?
Usually when we are taking data it gets put into a databroker. The databroker takes care of storing large data sets. However, we may get data with the samples (eg XRD patterns taken on a lab source) which is not in the databroker. How should we handle this?
The way I see this there are two options (although there may be more):
It seems that the QR starts with the letter e
then that e
is missing from the excel sheet.
Some sphinx API doc goodness would be nice.
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.