harvard-lil / capstone Goto Github PK
View Code? Open in Web Editor NEWCAP database scripts.
License: MIT License
CAP database scripts.
License: MIT License
Make a web tool that a non-developer can use to modify the JSON in data migrations.
Is it easy and feasible (easy feasy?) to have the sqs-based monitoring scripts feed capstone directly?
Getting Volume List
Traceback (most recent call last):
File "/home/asilva/capstone/venv/lib/python3.5/site-packages/storages/backends/s3boto3.py", line 398, in _normalize_name
return safe_join(self.location, name)
File "/home/asilva/capstone/venv/lib/python3.5/site-packages/storages/backends/s3boto3.py", line 61, in safe_join
raise ValueError('the joined path is located outside of the base path'
ValueError: the joined path is located outside of the base path component
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/asilva/capstone/venv/lib/python3.5/site-packages/fabric/main.py", line 762, in main
*args, **kwargs
File "/home/asilva/capstone/venv/lib/python3.5/site-packages/fabric/tasks.py", line 425, in execute
results['<local-only>'] = task.run(*args, **new_kwargs)
File "/home/asilva/capstone/venv/lib/python3.5/site-packages/fabric/tasks.py", line 172, in run
return self.wrapped(*args, **kwargs)
File "/home/asilva/capstone/capstone/fabfile.py", line 24, in ingest_volumes
ingest_files.ingest_volumes()
File "/home/asilva/capstone/capstone/scripts/ingest_files.py", line 108, in ingest_volumes
dirs = all_volumes()
File "/home/asilva/capstone/capstone/scripts/ingest_files.py", line 173, in all_volumes
for i, subdir in enumerate(ingest_storage.iter_subdirs()):
File "/home/asilva/capstone/capstone/cap/storages.py", line 28, in iter_subdirs
for result in paginator.paginate(Bucket=self.bucket_name, Prefix=self._fix_path(path), Delimiter='/'):
File "/home/asilva/capstone/capstone/cap/storages.py", line 12, in _fix_path
return self._encode_name(self._normalize_name(self._clean_name(path)))
File "/home/asilva/capstone/venv/lib/python3.5/site-packages/storages/backends/s3boto3.py", line 401, in _normalize_name
name)
django.core.exceptions.SuspiciousOperation: Attempted access to '/' denied.
django fixture?
As part of his requirements for moving away from the Tracking Tool, Steve would like a report in which he could get a list of volumes (with at least the barcodes, preferably with some associated metadata) for which a specific event was logged between two dates. For example:
All volumes which were scanned between Sep 15th and Oct 15th. He'd like the output in spreadsheet format rather than HTML.
Make a function to roll back specific migrations
Use new s3 manifest function?
In the CaseXML model, we want to split up citation into two fields:
Looks like there's an SSL error if more than 1 volume is ingested via s3 storages. Probably a multi processing issue trying to reuse a connection.
Make a function that creates a new migration which is just the rollback portion of a previously applied migration which applies to a specific file.
Test large migration JSON fields to see if performance is bearable
Anastasia has a visualization API that is fed from TT code. Should this live somewhere else? Is it worth it?
Look at all fo the data in the tracking tool and figure out what we don't want.
As part of his requirements for moving away from the Tracking Tool, Steve would like a spreadsheet dump of all barcodes (rows) with every event they've logged (columns.)
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.