Skip to content

issue related to create_osp_model(pyfile==true) #100

@Mehrshad-Ghorbanzadeh

Description

@Mehrshad-Ghorbanzadeh

Dear developer,
I recently worked on your amazing work (opsgrillage), suddenly, I noticed that when I want to put the option pyfile on true in create_osp_model function, I received the error as below:
"Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\WorkFllow_Python\t1_gr.py", line 313, in
move_results = simple_grid.get_results(load_case="Moving Two Axle Truck")
File "C:\Python38\lib\site-packages\ospgrillage\osp_grillage.py", line 2244, in get_results
extract_da = basic_da.sel(Loadcase=name)
AttributeError: 'NoneType' object has no attribute 'sel'"

this is about basic_da that has no contribute to sel function. but it is work fluently when you put the option on false. can you help me to understand this mentioned issue. maybe it is my fault.
I want to have the complete file to do some reliability analysis like your appreciated work.

yours sincerely,
Mehrshad Ghorbanzadeh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions