atcollab / at

Accelerator Toolbox
Apache License 2.0
48 stars 31 forks source link

atidtable_dat error when reading a square (NxN) table #682

Open oscarxblanco opened 11 months ago

oscarxblanco commented 11 months ago

Dear all,

there is a bug in the matlab version of AT when reading a square grid (N by N) Insertion Device table using atidtable_dat.

>> utest = atidtable_dat('utest',10,'carte_mai2023_hu60_g125_lv.txt',2.75,'IdTablePass')
Error using importdata
Unable to load file.
Use readtable for more complex formats.

Error in atidtable_dat (line 73)
    A=importdata(filename,' ',11+Ny+3);

Caused by:
    Operands to the logical AND (&&) and OR (||) operators must be convertible to logical scalar values. Use the ANY or ALL functions to reduce
    operands to logical scalar values.

I have already check the problem and I can propose a solution, but, I am unable to git push a new branch.

Could you please give me permissions to do it ? Otherwise, I can provide more details on how to solve it.

Best regards, o

oscarxblanco commented 11 months ago

Dear all, I solved the problem with git push, it was a misconfiguration of ssh keys. I will be able to provide a solution soon.