Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_aliases not exist before assigning tag to it #133

Closed
3 tasks
ztq1996 opened this issue Jul 25, 2024 · 2 comments
Closed
3 tasks

_aliases not exist before assigning tag to it #133

ztq1996 opened this issue Jul 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ztq1996
Copy link
Contributor

ztq1996 commented Jul 25, 2024

When I run columnmapper, it gives me this. I believe I have encounter this multiple time, a quick fix would be check if _aliases exist, if not, initiate one.

File /hildafs/projects/phy200017p/ztq1996/ztq1996/RAIL/rail_base/src/rail/core/stage.py:291, in RailStage.set_data(self, tag, data, path, do_read)
    289 aliased_tag = data.tag
    290 if tag in self.input_tags():
--> 291     self._aliases[tag] = aliased_tag
    292     if data.has_path:
    293         self._inputs[tag] = data.path

AttributeError: 'ColumnMapper' object has no attribute '_aliases'

Before submitting
Please check the following:

  • I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
  • I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
  • If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
@ztq1996 ztq1996 added the bug Something isn't working label Jul 25, 2024
@eacharles
Copy link
Collaborator

eacharles commented Jul 25, 2024 via email

@eacharles
Copy link
Collaborator

Pretty sure this was fixed with all the ceci updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants