How to load custom UFO model?

Asked by Igal on 2019-08-12

Dear Authors,

With the new WO version 2.8.0, I am trying to load a custom UFO model but failed:

model = test_model (ufo)
model = MyMdl (ufo ('../models/DarkNul_UFO'))
                                      ^
| Expected syntax: ARGUMENTS <ufo_arg> = ( <string_literal> )
| Found token: No match

Thanks, cheers,
 Igal.

Question information

Language:
English Edit question
Status:
Solved
For:
WHIZARD Edit question
Assignee:
Juergen Reuter Edit question
Solved by:
Juergen Reuter
Solved:
2019-08-12
Last query:
2019-08-12
Last reply:
2019-08-12
Best Juergen Reuter (j.r.reuter) said : #1

Use double quotation marks, not single ones.

Igal (igjaegle) said : #2

Thanks. If I do:

model = DarkNul_UFO (ufo ("../models"))

it is working.

Igal (igjaegle) said : #3

Thanks Juergen Reuter, that solved my question.