cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMPĀ® Marketplace
Choose Language Hide Translation Bar
hogi
Level XII

Oops - I lost my data ...

12 REPLIES 12
hogi
Level XII

Re: Oops - I lost my data ...

option 1):
add a Link with a non-resolved reference:

 

Names Default to Here(1);

testMode= 1;
dt =  Open( "$SAMPLE_DATA/Big Class.jmp" );

dt << new column("Conan the Destroyer",Set Property("Link Reference", {Reference Table(link_path), Options("Use Linked Column Name", "Auto Open")}));

dt << save("$TEMP/test.jmp");
close(dt, noSave);

open("$TEMP/test.jmp");  

Re: Oops - I lost my data ...

I believe understand the problem after speaking with another colleague.

 

The issue here is the JMP user interface will not allow one to save a table, with Auto Open selected, while an invalid Link Reference path exists. The JMP UI will save the table but will set the Auto Open option. So the table can be opened or recovered.

 

In JSL however, it is permitted. The table is saved with Auto Open and an invalid Link Reference. This prevents JMP from opening the table. The JMP UI has some sort of safety check in place that is not built into JSL. 

 

I've reported this issue so it can be addressed in a future release.

 

Best!

hogi
Level XII

Re: Oops - I lost my data ...

Hi @Dahlia_Watkins , thank you for digging deeper and triggering a bugfix for a future release : )

[TS - 00177463]

jthi
Super User

Re: How to make a data table non-accessible?

In what sense non-accessible?

-Jarmo
hogi
Level XII

Re: How to make a data table non-accessible?

In the sense of "dead".

hogi
Level XII

Re: How to make a data table non-accessible?

The good thing:
JMP stores the Table reference in plain text ...

By deleting the ", Auto Open" one can revive the file:

hogi_0-1733159175285.png

JMP will show a warning message:

hogi_1-1733159536529.png

and skip the details of the erroneous column.

txnelson
Super User

Re: How to make a data table non-accessible?

What is the purpose of this thread?

Jim
hogi
Level XII

Re: How to make a data table non-accessible?


@txnelson wrote:

What is the purpose of this thread?



mainly: Help people save their work.

 

Besides that:
a) Documentation: Things you should NOT (!!) do with your data table.

b) Motivation:
@ colleagues - please invest 30 minutes to understand the beauty of Eval/Eval Expr/Expr
(the basics: # 62, some examples: #66)  ---  it will save you from lost data like this one.

c) preventive action:

-> I will add a check + warning functionality to the hogi_0-1733168619557.png button ...
if a variable is defined in the script - and the variable shows up in a message (<<  ...) ... show a WARNING !

 

hogi
Level XII

Re: How to make a data table non-accessible?


@hogi wrote:
a check + warning functionality  ...