aiidalab / aiidalab/aiida-archive-inspect

Allow `verdi archive info` to display archive information without import

Ouverte
#6 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

E.g.:
```
❯ verdi archive info --detailed acwf-verification_oxides-verification-PBE-v1_results_gpaw.aiida
metadata:
export_version: main_0001
aiida_version: 2.7.1.post0
conversion_info:
- Converted from version 0.10 to 0.11 with AiiDA v2.7.1.post0
- Converted from version 0.11 to 0.12 with AiiDA v2.7.1.post0
- Converted from version 0.12 to 0.13 with AiiDA v2.7.1.post0
- Converted from version 0.13 to main_0000 with AiiDA v2.7.1.post0
- Converted from version main_0000 to main_0001 with AiiDA v2.7.1.post0
mtime: '2025-09-03T14:20:42.580581'
compression: 6
creation_parameters:
graph_traversal_rules:
input_calc_forward: false
input_calc_backward: true
create_forward: true
create_backward: true
return_forward: true
return_backward: false
input_work_forward: false
input_work_backward: true
call_calc_forward: true
call_calc_backward: true
call_work_forward: true
call_work_backward: true
entities_starting_set:
Group:
- 31ea44fe-2ade-40df-9dca-b0ecd61b0e5a
- d19ca641-98b7-4b24-a61f-7d82c61d8208
Node:
- 0afddbb5-bf88-483c-9f29-834e39429a88
- 5b47d9ec-0af5-4ac3-871e-18240dd66702
- fb623530-ecec-48c1-882a-a9631269ceca
- 41469c7d-a36a-49dc-bd8f-bba16504c899
...
(this currently shows a long list of UUIDs, even without the --detailed option. Relevant aiida-core PR: https://github.com/aiidateam/aiida-core/pull/6829)
...
- e2069dcb-0388-4e63-842d-eff174da8ed3
- eae0107d-c194-4597-9f48-c2c54ed50dd8
- 28dca437-729b-4396-9749-4ba527445c34
- df9174d3-c911-4f71-9196-6277bd535239
include_comments: true
include_logs: true
key_format: sha256
entities:
Users:
count: 2
emails:
- ebosoni@icmab.es
- vijays@fysik.dtu.dk
Computers:
count: 1
labels:
- dtu_xeon40
Nodes:
count: 57889
node_types:
- data.core.array.ArrayData.
- data.core.array.kpoints.KpointsData.
- data.core.bool.Bool.
- data.core.code.Code.
- data.core.dict.Dict.
- data.core.float.Float.
- data.core.folder.FolderData.
- data.core.int.Int.
- data.core.remote.RemoteData.
- data.core.structure.StructureData.
- process.calculation.calcfunction.CalcFunctionNode.
- process.calculation.calcjob.CalcJobNode.
- process.workflow.workchain.WorkChainNode.
process_types:
- aiida.calculations:ase.ase
- aiida.workflows:ase.gpaw.base
- aiida.workflows:common_workflows.eos
- aiida.workflows:common_workflows.relax.gpaw
- aiida_common_workflows.workflows.eos.scale_structure
- aiida_common_workflows.workflows.relax.gpaw.workchain.extract_from_array
- aiida_common_workflows.workflows.relax.gpaw.workchain.extract_from_parameters
Groups:
count: 2
type_strings:
- core
Comments:
count: 0
Logs:
count: 14070
Links:
count: 119394
repository:
objects:
count: 18935
```

This is to save the time required for importing. -> What about also using `sqlite_zip` for this repository functionality here, which doesn't require importing.

Note, however, that both, `verdi archive info`, as well as using the archive for an `sqlite_zip` profile require previous migration, if the archive version is not up to date.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.