Code Monkey home page Code Monkey logo

aiida-tbextraction's Introduction

aiida-tbextraction's People

Contributors

danielmarchand avatar greschd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aiida-tbextraction's Issues

Installation problem

Hi,

I came across with a problem of installing aiida-tbextraction: After installing aiida using conda channel, I used both "pip install aiida-tbextraction" and "python -m pip install aiida-tbextraction" to install this plugin code for aiida. Unfortunately, it was failed with the error message as shown in the attached picture:
Error

Could you indicate me something concerning how to figure out this installation problem ? Thanks.

Best,
Leon

Split pw2wannier90: wrap collection in calcfunction

When splitting pw2wannier90 calculations, the "collection" of files into a single output directory is currently done within the workchain directly. As a result, caching from a calculation whose remote directory has been deleted doesn't work, because the collection would have to be repeated.

Instead, we can wrap it in a calcfunction that takes the RemoteData nodes and all necessary indices as input.

"The output model HDF5 file was not found" error from SymmetrizeCalculation

Dear all,

I faced a problem while I run the example script included in aiida-tbextraction.
The error message is following.

From verdi process show 1560

Property     Value
-----------  --------------------------------------------------------
type         SymmetrizeCalculation
state        Finished [300] The output model HDF5 file was not found.
pk           1560
uuid         20435e24-5d32-4c40-a3db-c9894551427c
label
description
ctime        2021-10-01 01:24:22.998931+00:00
mtime        2021-10-01 01:24:55.780517+00:00
computer     [4] localhost

Inputs        PK  Type
----------  ----  --------------
code        1145  Code
symmetries  1431  SinglefileData
tb_model    1557  SinglefileData

Outputs          PK  Type
-------------  ----  ----------
remote_folder  1562  RemoteData
retrieved      1582  FolderData

Caller      PK  Type
--------  ----  -----------------------
CALL      1509  TightBindingCalculation

Log messages
---------------------------------------------
There are 1 log messages for this calculation
Run 'verdi process report 1560' to see them

From verdi process report 1560

*** 1560: None
*** (empty scheduler output file)
*** Scheduler errors:
Traceback (most recent call last):
  File "/home/user3/minkyu/.local/bin/tbmodels", line 8, in <module>
    sys.exit(cli())
  File "/home/user3/minkyu/anaconda3/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/home/user3/minkyu/anaconda3/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/home/user3/minkyu/anaconda3/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/user3/minkyu/anaconda3/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/user3/minkyu/anaconda3/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/home/user3/minkyu/.local/lib/python3.8/site-packages/tbmodels/_cli.py", line 161, in symmetrize
    sym = sr.io.load(symmetries)
  File "/home/user3/minkyu/.local/lib/python3.8/site-packages/symmetry_representation/io.py", line 30, in load
    return fsc.hdf5_io.load(hdf5_file)
  File "/home/user3/minkyu/.local/lib/python3.8/site-packages/fsc/hdf5_io/_save_load.py", line 157, in from_hdf5_file
    return from_hdf5(f)
  File "/home/user3/minkyu/.local/lib/python3.8/site-packages/fsc/hdf5_io/_save_load.py", line 63, in from_hdf5
    type_tag = hdf5_handle[TYPE_TAG_KEY][()].decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'

*** 1 LOG MESSAGES:
+-> WARNING at 2021-10-01 01:24:55.697880+00:00
 | output parser returned exit code<300>: The output model HDF5 file was not found.

Can anyone give some hints to solve this problem?

Best regards,
Minkyu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.