[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Mixing up 'is' and 'isnt'?

Hi Todd & tj,

On 15.02.21 17:47, Todd Tannenbaum wrote:
Re the below, ClassAds expressions can evaluate to one of four values: True, False, Error, or Undefined. Note that "Defined" is not one of these four values. So instead of writing clauses like "... && TotalGpus isnt defined", try "... && TotalGpus is Undefined" instead. Some people find using the isUndefined() function more intuitive, for instance "... && isUndefined(TotalGpus)".

that really cleared up the fog - but I cannot promise not to fall into the same trap a few years down the road again ;-).



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature