Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] matchmaking with python bindings changes behavior depending on the imports
- Date: Fri, 16 Nov 2018 15:56:31 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] matchmaking with python bindings changes behavior depending on the imports
matching is usually that requirements matches both ways.
c['requirements'] is true for req, and req['requirements'] is true for c.
I see only one way matching here, so this would be expected behavior.
-tj
-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Jose Caballero
Sent: Thursday, November 15, 2018 2:36 PM
To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] matchmaking with python bindings changes behavior depending on the imports
Hi,
is this behavior expected?
>>> import classad
>>> c = classad.ClassAd()
>>> c['foo'] = 5
>>> req = classad.ClassAd()
>>> req['Requirements'] = classad.ExprTree('foo > 0')
>>> c.matches(req)
False
>>> import htcondor
>>> c.matches(req)
True
The test was done using version 8.7.9
Cheers,
Jose
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/