An AiiDAlab app to import and inspect AiiDA archive files (e.g., from Materials Cloud).
git clone this repository into the apps folder of your AiiDAlab installation,
git clone https://github.com/aiidalab/aiida-archive-inspect.gitIf the app was registered in the future, you can install it directly via the app store in AiiDAlab or on the command line with:
aiidalab install archive-inspect
Start your AiiDAlab instance, get the port number (replace 8919 with your port if different), and open the following URL in your browser:
the openapp will open the aiida-archive-inspect app, and download the file, import the data, and show the statistic data. The app provides a button to open a normal Jupyter notebook with the data loaded.
import_archive.ipynb: Entry point. Creates anImportArchivewidget that downloads the archive from Materials Cloud, imports it into the selected AiiDA profile (with optional migration), and stores the group metadata.overview.ipynb: Loads the imported group bygroup_pkandprofile(from the URL), renders a summary table, and links to the detailed view.detail.ipynb: Loads the group bygroup_pkandprofileand displays the group object for interactive inspection.stored_archives.ipynb: Readsstored_archives.jsonand shows a table with links to inspect or delete each group.delete.ipynb: Deletes the selected group and its nodes and removes the entry fromstored_archives.json.
- The app expects to run inside AiiDAlab, which provides
jupyter_notebook_urlin the notebook context. - The notebooks rely on URL parameters:
group_pk,profile,file, andrecord_id. stored_archives.jsonis the single source of truth for the "Stored Archives" view.
MIT