Page 1 of 1

Generating Label name

Posted: Tue May 05, 2020 7:38 am
by seol
Hi Jonathon

Recently, I am developing "Correlations" module and trying to generate UI module.

I attached 3 files; Whenever I try to run "correlation.a", I failed to generate "Label" name in jamovi program.

Therefore, how can I show the label name in jamovi?

After I changed "correlation.u" file(see attached "correlation.u" file), click jmvtools::install() in R console, and tried to install *jmo into jamovi program. Label name does not appeared in module structure. Further, "correlation.u"file automatically
was changed like "correlation.u(1)".

Could you check it for me ?

Cheers

Seol

Re: Generating Label name

Posted: Tue May 05, 2020 7:45 am
by jonathon
hi seol,

if i understand correctly, you need to change the compilerMode from aggressive to tame. see here:

https://dev.jamovi.org/ui-basic-design.html

cheers

jonathon

Re: Generating Label name

Posted: Tue May 05, 2020 9:20 am
by seol
Hi jonathon

It works well ^^ Thanks again.

Cheers
Seol

Re: Generating Label name

Posted: Tue May 05, 2020 2:22 pm
by seol
Hi jonathon

As mentioned above, I changed 'aggressive' into 'tame' in the compiler mode.

The dialog box was located at the bottom of UI .
image1.png
image1.png (25.76 KiB) Viewed 6019 times
Therefore, I tried to relocate the following command in the top of the *.u.yaml and to rerun it with tame complier mode.
image2.png
image2.png (30.29 KiB) Viewed 6019 times
but I fail to fix it.

Could you tell me how to fix it? Thanks in advance.

Cheers

Seol

Re: Generating Label name

Posted: Tue May 05, 2020 11:21 pm
by dropmann
Hi,

So the issue is because you have told the Correlation Coefficients to be at the top. The LayoutBox that contains them has got the property cell set to row: 0 and column: 0. Delete this and everything will work fine.

In summary, delete the below yaml from your u.yaml file around line 25.

Code: Select all

cell:
   column: 0
   row: 0

Re: Generating Label name

Posted: Wed May 06, 2020 12:44 am
by seol
Hi dropmann

Thanks for your reply. Although I deleted row and column as you mentioned above and rerun it, Same problem happened.

Could you try to run and check it again with files that I attached ?

Cheers

Seol

Re: Generating Label name

Posted: Wed May 06, 2020 1:46 pm
by seol
Hi dropmann

Finally, I fixed it ! Thanks again.

Cheers

Seol

Re: Generating Label name

Posted: Thu May 07, 2020 12:27 am
by dropmann
No worries :)