Skip to content

Conversation

mafshari64
Copy link
Contributor

No description provided.

@PrometheusPi PrometheusPi added CI:no-compile CI is skipping compile/runtime tests but runs PICMI tests PICMI pypicongpu and picmi related labels Sep 25, 2025
@PrometheusPi
Copy link
Member

@mafshari64 Your code does not pass the ci tests. It runs into:

AttributeError: 'RangeSpec' object has no attribute 'get_as_pypicongpu'

@mafshari64
Copy link
Contributor Author

@mafshari64 Your code does not pass the ci tests. It runs into:

AttributeError: 'RangeSpec' object has no attribute 'get_as_pypicongpu'

I know Richard. I am solving it.

)

# Check for empty ranges after processing
dummy_sim_box = tuple(20 for _ in range(len(self.ranges))) # Match number of dimensions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 20 here?

@PrometheusPi
Copy link
Member

@mafshari64 Could you add such a RangeSpec call in a suitable spot in either the Laser Wakefield or warm plasma PICMI example, so that there is an example for the usage?

@mafshari64
Copy link
Contributor Author

@PrometheusPi, today I updated it to avoid such hardcoding. I will push PR today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI:no-compile CI is skipping compile/runtime tests but runs PICMI tests PICMI pypicongpu and picmi related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants